package study.db.sql.mapper.goodsbase;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@Data
@Builder
@Alias("GoodsBaseEO")

@TableName("goods_base")
public class GoodsBaseEO {

    @TableId(value = "gb_id", type = IdType.AUTO)
    private Long gbId;

    private String gbName;
    private Date gbBeginTime;
    private Date gbEndTime;
    private String gbDesc;
}
